import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    redirect: '/start'
  },
  {
    path: '/start',
    name: 'start',
 component:()=>import(/* webpackChunkName: "about" */ '../page/startPage.vue')
  },
  {
    path: '/doing',
    name: 'doing',
 component:()=>import(/* webpackChunkName: "about" */ '../page/playingPage.vue')
  },
  {
    path: '/end',
    name: 'end',
 component:()=>import(/* webpackChunkName: "about" */ '../page/endPage.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
